package com.newpage.module_lecture.contract;

import com.wetao.lib_common.base.BasePresenter;
import com.wetao.lib_common.base.BaseResponse;
import com.wetao.lib_common.base.BaseViewImp;
import com.wetao.lib_common.bean.response.QuestionExplainListInfo;

import java.util.HashMap;

/**
 * author: zhouyh
 * created on: 2021/6/9 3:12 下午
 * description:
 */
public interface LectureContract {

    interface View extends BaseViewImp{

        void getQuestionExplainResult(QuestionExplainListInfo resp);
        void getQuestionExplainFail();
        void updateUnderstandSuccess(BaseResponse resp);
        void updateUnderstandFail();
    }

    abstract class Presenter extends BasePresenter<View> {

        public abstract void getQuestionExplainList(HashMap<String, String> map,boolean isDialog, boolean cancelable);
        public abstract void updateUnderstand(HashMap<String, Object> map,boolean isDialog, boolean cancelable);
    }
}
